#if !defined(AFX_PROGRESSBARCTRL_H__C3741B49_3AF0_469C_AFEA_F0BC169CA542__INCLUDED_)
#define AFX_PROGRESSBARCTRL_H__C3741B49_3AF0_469C_AFEA_F0BC169CA542__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProgressBarCtrl.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CProgressBarCtrl window

class CProgressBarCtrl : public CStatic
{
// Construction
public:
	CProgressBarCtrl();
	void GetRange(int &lower,int &upper);
	int GetPos();
	int StepIt( );
	int SetStep( int nStep );
	int OffsetPos( int nPos );
	int SetPos( int nPos );
	void SetRange( int nLower, int nUpper );

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CProgressBarCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
	void InvalidateText();
	virtual ~CProgressBarCtrl();

	// Generated message map functions
protected:
	int m_nLower;
	int m_nUpper;
	int m_nStep;
	int m_nPos;
	float m_length;
	CRect m_rect;
	CBitmap * oldbmp;
	CBitmap bmpBack;
	CBitmap bmpFore;
	CDC * pDCBack;
	CDC * pDCFore;
	BITMAP bmback;
	BITMAP bmfore;
	//{{AFX_MSG(CProgressBarCtrl)
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROGRESSBARCTRL_H__C3741B49_3AF0_469C_AFEA_F0BC169CA542__INCLUDED_)
